package cn.edu.zisu.auth;


import cn.edu.zisu.auth.model.LoginParam;
import cn.edu.zisu.auth.model.UserDTO;
import cn.edu.zisu.common.model.request.RequestParameter;
import cn.edu.zisu.common.model.response.EntityResponse;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

public interface LoginApi {

    
    @PostMapping("/auth/login/AccountAndPassword")
    EntityResponse<UserDTO> loginByAccountAndPassword(@RequestBody @Valid RequestParameter<LoginParam> loginParam);






}
